<!-- inc:head -->
<div class="main">
	<div class="left"><!-- inc:inc/left --></div>
	<div class="right">
		<div class="vmenu"><h3>友情链接</h3><span>&nbsp;</span></div>
		<div class="border-notop">
			<ul class="picture">
			<!-- $rslist AS $key=>$value -->
			<li><a href="{:$value[link_url]}" title="{:$value[title]}"{if($value[target])} target="_blank"{end}>{:sys_cutstring($value[title],17)}</a></li>
			<!-- end -->
			</ul>
			<div class="clear line"></div>
			<!-- if($pagelist && is_array($pagelist) && count($pagelist)>0) -->
			<div align="right">
			<table class="pagelist">
			<tr>
				<!-- $pagelist AS $key=>$value -->
				<td><a href="{:$value[url]}" class="{:$value[status] ? 'm' : 'n'}">{:$value[name]}</a></td>
				<!-- end -->
			</tr>
			</table>
			</div>
			<!-- end -->
			<div class="line"></div>
		</div>
		<div class="line"></div>
		<div id="post_link"></div>
	</div>
	<div class="clear"></div>
</div>
<script type="text/javascript">
function js_link(rs,id)
{
	getid(id).innerHTML = rs;
}
function to_submit()
{
	var subject = getid("subject").value;
	if(!subject)
	{
		alert("网站名称不允许为空");
		getid("subject").focus();
		return false;
	}
	var link_url = getid("link_url").value;
	if(!link_url)
	{
		alert("请填写网站地址");
		return false;
	}
	getid("_phpok_submit").disabled = true;
	return true;
}
func_php("post&ms=link",js_link,"post_link");
</script>

<!-- inc:foot -->